package com.yupi.yuoj.model.dto.membershiporder;

import com.yupi.yuoj.common.PageRequest;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 会员订单查询请求
 *
 * @author jingjin
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MembershipOrderQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 订单号
     */
    private String orderNumber;

    /**
     * 用户 id
     */
    private Long userId;

    /**
     * 会员套餐 id
     */
    private Long membershipPlanId;

    /**
     * 订单状态
     */
    private String status;

    /**
     * 支付方式
     */
    private String paymentMethod;

    /**
     * 最小金额
     */
    private BigDecimal minAmount;

    /**
     * 最大金额
     */
    private BigDecimal maxAmount;

    private static final long serialVersionUID = 1L;
}